import request from '@/utils/request'

// 查询系统异常提示列表
export function listExceptionMessage(query) {
  return request({
    url: '/system/exceptionMessage/list',
    method: 'get',
    params: query
  })
}

// 查询系统异常提示详细
export function getExceptionMessage(id) {
  return request({
    url: '/system/exceptionMessage/' + id,
    method: 'get'
  })
}

// 新增系统异常提示
export function addExceptionMessage(data) {
  return request({
    url: '/system/exceptionMessage',
    method: 'post',
    data: data
  })
}

// 修改系统异常提示
export function updateExceptionMessage(data) {
  return request({
    url: '/system/exceptionMessage',
    method: 'put',
    data: data
  })
}

// 删除系统异常提示
export function delExceptionMessage(id) {
  return request({
    url: '/system/exceptionMessage/' + id,
    method: 'delete'
  })
}
